package org.springcloud.wisdom.springcloud_03_freshman.student.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springcloud.wisdom.springcloud_03_freshman.student.entity.Dept;

import java.util.List;

@Mapper
public interface DeptDao {
    //获取所有院系
    @Select("select * from department")
    public List<Dept> getAll();
}
